package com.coffee.dao;

import com.coffee.entity.Coffee;
import com.coffee.entity.QueryPageBean;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface CoffeeDAO {
    List<Coffee> list(String id);


    Page<Coffee> page(QueryPageBean queryPageBean);

    void add(Coffee coffee);

    void edit(Coffee coffee);

    void delete(Coffee coffee);

    void status(Coffee coffee);

    List<Coffee> listDisCount();

    List<Coffee> listCoffee(String id);
}
